CFLAGS=-Wall -Wextra -pedantic -ansi -Wno-unused-parameter

all: task8 task9 task10

task8: server8 client8

task9: server9

task10: nnpipe10

server8: server8.c
	gcc $(CFLAGS) -lsocket -lnsl -o server8 server8.c

client8: client8.c
	gcc $(CFLAGS) -lsocket -lnsl -o client8 client8.c

server9: server9.c
	gcc $(CFLAGS) -o server9 server9.c

nnpipe10: nnpipe10.c
	gcc $(CFLAGS) -o nnpipe10 nnpipe10.c

clean: FORCE
	rm -f client*[0-9] server*[0-9] nnpipe10

FORCE:
